<!DOCTYPE html>
<html lang="en"><head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.5.0 -->
<title>This Week in Rust and WebAssembly 12 | Rust and WebAssembly</title>
<meta name="generator" content="Jekyll v3.7.4" />
<meta property="og:title" content="This Week in Rust and WebAssembly 12" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Hello and welcome to another issue of This Week in Rust and WebAssembly!" />
<meta property="og:description" content="Hello and welcome to another issue of This Week in Rust and WebAssembly!" />
<link rel="canonical" href="https://rustwasm.github.io/2019/02/28/this-week-in-rust-and-wasm-012.html" />
<meta property="og:url" content="https://rustwasm.github.io/2019/02/28/this-week-in-rust-and-wasm-012.html" />
<meta property="og:site_name" content="Rust and WebAssembly" />
<meta property="og:type" content="article" />
<meta property="article:published_time" content="2019-02-28T00:00:00+00:00" />
<script type="application/ld+json">
{"headline":"This Week in Rust and WebAssembly 12","dateModified":"2019-02-28T00:00:00+00:00","datePublished":"2019-02-28T00:00:00+00:00","description":"Hello and welcome to another issue of This Week in Rust and WebAssembly!","mainEntityOfPage":{"@type":"WebPage","@id":"https://rustwasm.github.io/2019/02/28/this-week-in-rust-and-wasm-012.html"},"url":"https://rustwasm.github.io/2019/02/28/this-week-in-rust-and-wasm-012.html","@type":"BlogPosting","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/assets/main.css">
        <link rel="stylesheet" href="/assets/extra.css"><link type="application/atom+xml" rel="alternate" href="https://rustwasm.github.io/feed.xml" title="Rust and WebAssembly" /></head>
<body><header class="site-header" role="banner">

        <div class="wrapper"><a class="site-title" rel="author" href="/">
            <img src="/assets/rustwasm.png" style="max-height: 2em"/>
            Rust and WebAssembly
          </a><nav class="site-nav">
              <input type="checkbox" id="nav-trigger" class="nav-trigger" />
              <label for="nav-trigger">
                <span class="menu-icon">
                  <svg viewBox="0 0 18 15" width="18px" height="15px">
                    <path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
                    <path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
                    <path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
                  </svg>
                </span>
              </label>

              <div class="trigger">
                  <a class="page-link" href="/docs.html">📚 Learn</a>
                  <a class="page-link" href="/">📖 Blog</a>
                  <a class="page-link" href="https://github.com/rustwasm/team/blob/master/README.md#get-involved">👯 Get Involved</a>
              </div>
            </nav></div>
      </header>
<div class="wrapper" style="background:rgb(245, 170, 170);border: 5px solid red;">
  This project and website is <a href="https://blog.rust-lang.org/inside-rust/2025/07/21/sunsetting-the-rustwasm-github-org/">no longer maintained</a>
</div>
<main class="page-content" aria-label="Content"><div class="wrapper">
        <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">

  <header class="post-header">
    <h1 class="post-title p-name" itemprop="name headline">This Week in Rust and WebAssembly 12</h1>
    <p class="post-meta">
      <time class="dt-published" datetime="2019-02-28T00:00:00+00:00" itemprop="datePublished">Feb 28, 2019
      </time></p>
  </header>

  <div class="post-content e-content" itemprop="articleBody">
    <p>Hello and welcome to another issue of <em>This Week in Rust and WebAssembly</em>!</p>

<p><a href="https://rust-lang.org">Rust</a> is a systems language pursuing the trifecta:
safety, concurrency, and speed.</p>

<p><a href="http://webassembly.org">WebAssembly</a> is a stack-based virtual machine and
instruction set. It is fast, safe, portable, and part of the open Web
platform. By compiling to WebAssembly, we can run Rust code on the Web!</p>

<p>This is a weekly summary of Rust and WebAssembly’s progress and community.</p>

<p>Did we miss something? Tweet to us at <a href="https://twitter.com/rustwasm">@rustwasm</a>
or <a href="https://github.com/rustwasm/rustwasm.github.io">send us a pull request</a>.</p>

<p><strong>Want to get involved in Rust and WebAssembly? <a href="https://github.com/rustwasm/team/blob/master/README.md#get-involved">Join the Rust and WebAssembly working group!</a></strong></p>

<!-- TODO: check recent r/rust and users.rust-lang.org posts for "wasm" and "webassembly": -->
<!-- https://twitter.com/rustwasm -->

<h2 id="news-and-blog-posts-from-around-the-web">News and Blog Posts from Around the Web</h2>

<p><em>Want to make sure something ends up on this list next time we publish an issue?
<a href="https://github.com/rustwasm/team/issues/79">Leave a comment on this issue.</a></em></p>

<ul>
  <li><a href="https://developers.google.com/web/updates/2019/02/hotpath-with-wasm">Replacing a hot path in your app’s JavaScript with
WebAssembly.</a>
The article compares versions written in Rust, C/C++, and AssemblyScript.</li>
  <li><a href="https://github.com/jedisct1/was-not-wasm">Was (not Wasm)</a> is a hostile
allocator for AssemblyScript that is written in Rust.</li>
  <li>Wasmer has <a href="https://medium.com/wasmer/running-webassembly-100x-faster-%EF%B8%8F-a8237e9a372d">improved their startup time by
100x</a>.</li>
  <li><a href="http://troubles.md/posts/microwasm/">WebAssembly Troubles part 4: Microwasm.</a>
The culmination of a series of posts about issues the author has with
WebAssembly, along with proposals for how to fix them.</li>
  <li><a href="https://twitter.com/HelloRenj/status/1100499645401366535">Generating snow with Rust and
Wasm</a>
    <ul>
      <li><a href="https://zen-liskov-772f98.netlify.com/">Live demo</a></li>
      <li><a href="https://github.com/renjithgr/wasm-make-some-snow">Source</a></li>
    </ul>
  </li>
</ul>

<h2 id="updates-from-rustwasm">Updates from <a href="https://github.com/rustwasm"><code class="highlighter-rouge">rustwasm/*</code></a></h2>

<h3 id="rfcs">RFCs</h3>

<h4 id="new-rfcs">New RFCs</h4>

<p>None.</p>

<h4 id="final-comment-period-rfcs">Final Comment Period RFCs</h4>

<ul>
  <li><a href="https://github.com/rustwasm/rfcs/pull/6">Add support for local JavaScript snippets in
<code class="highlighter-rouge">wasm-bindgen</code></a></li>
</ul>

<h4 id="merged-rfcs">Merged RFCs</h4>

<p>None.</p>

<h3 id="working-group-meetings">Working Group Meetings</h3>

<ul>
  <li><a href="https://www.youtube.com/watch?v=3YjN69U6ySE">Watch the recording of this week’s working group meeting on
YouTube</a></li>
  <li><a href="https://github.com/rustwasm/team/issues/258">Come join us at next week’s working group
meeting!</a></li>
</ul>

<h3 id="rustwasmrust-parcel-template"><code class="highlighter-rouge">rustwasm/rust-parcel-template</code></h3>

<ul>
  <li>@tock203 <a href="https://github.com/rustwasm/rust-parcel-template/pull/22">fixed a
<code class="highlighter-rouge">ReferenceError</code></a> in
the template’s initialization code.</li>
</ul>

<h3 id="rustwasmtwiggy"><code class="highlighter-rouge">rustwasm/twiggy</code></h3>

<ul>
  <li>@data-pup <a href="https://github.com/rustwasm/twiggy/pull/253">set up
<code class="highlighter-rouge">rustfmt</code>-checking</a> for our
continuous integration.</li>
  <li>@alexcrichton <a href="https://github.com/rustwasm/twiggy/pull/250">made Twiggy account for header and section size
bytes</a> of a Wasm binary, so
Twiggy’s output should sum to 100% now instead of just short of that.</li>
  <li>@philipc <a href="https://github.com/rustwasm/twiggy/pull/247">updated Twiggy to version 0.17.0 of
<code class="highlighter-rouge">gimli</code></a>, the crate it uses to
parse DWARF debugging information.</li>
  <li>@alexcrichton <a href="https://github.com/rustwasm/twiggy/pull/245">switched Twiggy over to using the <code class="highlighter-rouge">wasmparser</code>
crate</a> to parse Wasm binaries,
which gives more precise byte offset and size information, and is faster than
the old Wasm parser.</li>
  <li>@data-pup <a href="https://github.com/rustwasm/twiggy/pull/244">added an unreachable items
summary</a> to the <code class="highlighter-rouge">twiggy
dominators</code> output, so that all top-level rows’ sizes will sum to 100%.</li>
</ul>

<h3 id="rustwasmwasm-bindgen"><code class="highlighter-rouge">rustwasm/wasm-bindgen</code></h3>

<ul>
  <li>@tyleranton added support for <a href="https://github.com/rustwasm/wasm-bindgen/pull/1302">emitting doc
comments</a> in the
TypeScript interface definition files that <code class="highlighter-rouge">wasm-bindgen</code> creates.</li>
  <li>@LegNeato <a href="https://github.com/rustwasm/wasm-bindgen/pull/1298">fixed the <code class="highlighter-rouge">wasm-bindgen-test</code> headless browser test
runner</a> on macOS High
Sierra.</li>
  <li>@alexcrichton <a href="https://github.com/rustwasm/wasm-bindgen/pull/1285">updated the <code class="highlighter-rouge">wasm-bindgen</code>
guide</a> and added a
“Deployment” section.</li>
  <li>@alexcrichton <a href="https://github.com/rustwasm/wasm-bindgen/pull/1279">added support for the new <code class="highlighter-rouge">TextEncoder.prototype.encodeInto</code>
method</a> to
<code class="highlighter-rouge">wasm-bindgen</code>’s generated JS glue when passing strings between wasm and JS.</li>
</ul>

<h3 id="rustwasmwasm-pack"><code class="highlighter-rouge">rustwasm/wasm-pack</code></h3>

<ul>
  <li>@ashleygwilliams <a href="https://github.com/rustwasm/wasm-pack/pull/556">removed unnecessary
entries</a> from the <code class="highlighter-rouge">"files"</code>
key in <code class="highlighter-rouge">wasm-pack</code>’s generated <code class="highlighter-rouge">package.json</code>.</li>
  <li>@ashleygwilliams <a href="https://github.com/rustwasm/wasm-pack/pull/550">fixed the [wasm-pack] installer on
windows</a> when it is downloaded
multiple times and ends up with a <code class="highlighter-rouge">(1)</code> suffix in its filename.</li>
  <li>@surma <a href="https://github.com/rustwasm/wasm-pack/pull/542">wrote some docs on the <code class="highlighter-rouge">wee_alloc</code>
integration</a> for the
<code class="highlighter-rouge">wasm-pack</code> template.</li>
  <li>@DebugSteven <a href="https://github.com/rustwasm/wasm-pack/pull/536">wrote a series of get-started-in-X-environment
tutorials</a> for <code class="highlighter-rouge">wasm-pack</code>.</li>
</ul>

<h2 id="requests-for-contribution">Requests for Contribution</h2>

<p><strong>Want to get involved in Rust and WebAssembly? <a href="https://github.com/rustwasm/team/blob/master/README.md#get-involved">Join the Rust and WebAssembly
working group!</a></strong></p>

<ul>
  <li><a href="https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Arustwasm+archived%3Afalse+label%3A%22good+first+issue%22">All issues labeled “good first issue” in the <code class="highlighter-rouge">rustwasm/*</code> repositories</a></li>
  <li><a href="https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Arustwasm+archived%3Afalse+label%3A%22help+wanted%22">All issues labeled “help wanted” in the <code class="highlighter-rouge">rustwasm/*</code> repositories</a></li>
</ul>

<h3 id="new-good-first-issues">New Good First Issues</h3>

<ul>
  <li><a href="https://github.com/rustwasm/wasm-bindgen/issues/1284"><code class="highlighter-rouge">wasm-bindgen</code>: Add <code class="highlighter-rouge">#[wasm_bindgen(ignore)]</code> to ignore a <code class="highlighter-rouge">pub</code> field and not
generate getters/setters for
it</a></li>
</ul>

  </div><a class="u-url" href="/2019/02/28/this-week-in-rust-and-wasm-012.html" hidden></a>
</article>

      </div></main><footer class="site-footer h-card">
    <data class="u-url" href="/"></data>
  
    <div class="wrapper">
  
      <h2 class="footer-heading">Rust and WebAssembly</h2>
  
      <div class="footer-col-wrapper">
        <div class="footer-col footer-col-1">
          <ul class="contact-list">
            <li class="p-name">Rust and WebAssembly</li></ul>
        </div>
  
        <div class="footer-col footer-col-2"><ul class="social-media-list"><li><a href="https://github.com/rustwasm"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#github"></use></svg> <span class="username">rustwasm</span></a></li><li><a href="https://www.twitter.com/rustwasm"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#twitter"></use></svg> <span class="username">rustwasm</span></a></li></ul>
</div>
  
        <div class="footer-col footer-col-3">
          <p>Stay up to date with events, learning resources, and recent developments in Rust and WebAssembly community.</p>
        </div>
      </div>
  
    </div>
  
  </footer><!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85933208-2"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-85933208-2');
</script>
</body>

</html>
